package com.develop.data.loan.option;

import com.develop.data.loan.option.constraint.CodedOption;
import com.develop.data.loan.option.constraint.CommentedOption;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum LoanInstallmentType implements CodedOption, CommentedOption {
    ACTION_REPAYMENT_AUTO("01", "按期还款"),
    ACTION_REPAYMENT_PRE("02", "提前还款"),
    ACTION_REPAYMENT_OVERDUE("03", "逾期还款"),
    FACT_NOW("11", "实时分期截面"),
    FACT_EXPIRED("12", "因重新计算分期而被废弃的分期");

    //还款试算
    //确认贷款后，实时截面
    //废弃分期后，废弃分期


    @Getter
    private String code;
    @Getter @Setter
    private String comment;
}
